TsgPointerList
Unit:sgLists
Description
TsgPointerList
stores the array of pointers
Syntax
type TsgPointerList = class(TsgBaseList, IsgCollectionPointer, IsgArrayFPoint)
Properties
Properties | Description |
---|---|
First | The property indicates the first pointer in the Items array. |
FPointProc | The property specifies the procedure that returns TFPoint from the list. |
Items | The property lists the object references. |
Last | The property indicates the last item in the list. |
Properties derived from TsgBaseList | Description |
---|---|
Capacity | The property specifies the allocated size of the array of pointers maintained by the TsgBaseList object. |
Count | The property indicates the number of entries in the list that are in use. |
Dublicates | The property specifies how to handle items with same values. |
ListType | The property specifies the type of elements maintained by the list. |
ProcCompare | The property specifies the procedure used to compare items in the list. |
Sorted | The property indicates whether the items are sorted or not. |
Methods
Methods | Description |
---|---|
Add | The method inserts a new item at the end of the list. |
AppendArray | The method appends a specified list to this list. |
ClearTypeList | The method deletes all the items of a specified data type. |
IndexOf | The method returns the index of the first entry in the Items array with a specified value. |
Insert | The method adds an object to the Items array at the position specified by Index . |
Remove | The methods deletes the first reference to the Item parameter from the Items array. |
Sort | The methods performs a sort on the list. |
Methods derived from TsgBaseList | Description |
---|---|
AppendDynArray | The method appends a dynamic array to the list. |
Assign | The method copies elements of another list to this one. |
Clear | The method deletes all items from the list. |
CopyFrom | The method copies data from a specified list to this list. |
CopyTo | The method copies data from this list to a specified list. |
Create | The method creates a new list and initializes its data. |
Delete | The method removes the item(s) at a specific position from the list. |
Destroy | The method destroys an instance of TsgBaseList. |
FillChar | The method is for internal use. |
Flip | The method performs mirrored rearrangement of the items. |
High | The method returns the index of last item in the list. |
IsEqual | The method checks whether this list and a specified list are equal. |
IsItemsUnique | The method checks whether the Items array contains unique data set. |
Sort | The method performs a sort on the list. |
SwapItems | The method swaps two items in the list. |